Spark Get Current Number of Partitions of DataFrame